package org.mijia.dotsbox.task;

import org.mijia.dotsbox.core.model.Channel;

public class ChannelUpdateTask extends TaskBase {

	private Channel channel;
	
	public ChannelUpdateTask(Channel channel) {
		super(channel);
		
		this.channel = channel;
		status = "[Spider] loading " + channel.getId();
	}

	@Override
	protected Object internalRun() {
		return channel;
	}

	public String getId() {
		return "Spider#ChannelUpdate: " + channel.getId();
	}

}
